-- GENERATED SPELL FOR [Muad] --


function spell0_1910(pUnit, Event) --@Healing Wave,Heal--
pUnit:FullCastSpellOnTarget(332,pUnit)
pUnit:RegisterEvent('Sorts_1910', 2000, 1)
end

function spell1_1910(pUnit, Event) --@Shock,n/a--
pUnit:FullCastSpellOnTarget(2607,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1910', 0, 1)
end

function Sorts_1910(pUnit, Event)
local choix_sorts_1910 = math.random(0, 1)
if choix_sorts_1910 == 0 then
pUnit:RegisterEvent('spell0_1910', 1, 1)
end
if choix_sorts_1910 == 1 then
pUnit:RegisterEvent('spell1_1910', 1, 1)
end
end

function mob1910_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1910', math.random(1500, 3000), 1)
end

function mob1910_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1910_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1910_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1910, 1, 'mob1910_Action')
RegisterUnitEvent(1910, 2, 'mob1910_Leave')
RegisterUnitEvent(1910, 3, 'mob1910_Kill')
RegisterUnitEvent(1910, 4, 'mob1910_Die')
